package com.hainatong.jcmvvmbase.api;

import com.hainatong.jcmvvmbase.login.entity.UserBean;
import com.hainatong.jcmvvmbase.login.entity.UserResult;
import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.POST;

import java.util.Map;

public interface SiteHelperService
{
    String BASE_URL = "https://sitehelper.hbhnt.net/";

    @POST("api/Auth/requestToken")
    Observable<ApiResult<UserResult>> login(@Body Map<String,String> loginParam);


}
